package General;

import java.io.Serializable;
import java.util.ArrayList;
/**
 * Save all Client Details
 * @author Guy & Liel
 *
 */
public class ClientDetails implements Serializable
{
	private static final long serialVersionUID = 1L;
	String userName;
	String password;
	String mainFolder;
	String email;
	ArrayList<String> sharedFolder;


	/**
	 * get email
	 * @return String
	 */
	public String getEmail() {
		return email;
	}
	/**
	 * Constructor of Client Details
	 * @param userName
	 * @param password
	 * @param mainFolder
	 * @param email
	 * @param sharedFolder
	 */
	public ClientDetails(String userName, String password, String mainFolder, String email,
			ArrayList<String> sharedFolder) {
		super();
		this.email = email;
		this.userName = userName;
		this.password = password;
		this.mainFolder = mainFolder;
		this.sharedFolder = sharedFolder;
	}
	/**
	 * get user name
	 * @return String
	 */
	public String getUserName() {
		return userName;
	}
	/**
	 * Set user name 
	 * @param userName
	 */
	public void setUserName(String userName) {
		this.userName = userName;
	}
	/**
	 * Get password
	 * @return String
	 */
	public String getPassword() {
		return password;
	}
	/**
	 * Set password
	 * @param password
	 */
	public void setPassword(String password) {
		this.password = password;
	}
	/**
	 * Get path of main folder
	 * @return String
	 */
	public String getMainFolder() {
		return mainFolder;
	}
	/**
	 * Set path of main folder
	 * @param mainFolder
	 */
	public void setMainFolder(String mainFolder) {
		this.mainFolder = mainFolder;
	}
	/**
	 * Get share folders
	 * @return ArrayList<String>
	 */
	public ArrayList<String> getSharedFolder() {
		return sharedFolder;
	}
	/**
	 * Set a shared folders
	 * @param sharedFolder
	 */
	public void setSharedFolder(ArrayList<String> sharedFolder) {
		this.sharedFolder = sharedFolder;
	}



}
